package com.shaozi.nc.data.model;

import java.util.HashMap;
import java.util.Map;

import org.springframework.data.mongodb.core.mapping.Document;

import com.shaozi.data.mongo.model.ModelBase;

/**
 * 小秘书中定时调度的数据
 * 
 * @author brenx
 *
 */
@Document(collection = "nc_mq_api_quartz")
public class MqApiQuartzModel extends ModelBase {

	/**
	 * 
	 */
	private static final long serialVersionUID = 7308912715495455195L;

	public static final int DelType_Using = 0;
	public static final int DelType_Finish = 1;
	public static final int DelType_Cancel = 2;

	private String companyId;
	private String triggerUserId;
	private Integer sourceType;
	private Integer sourceId;
	private String jsonData;
	private String topicName;
	private Long atTime;
	private String pushRegex;
	private Integer isDebug;
	private Long createTime;
	private Long updateTime;
	private Integer isDel;
	private Integer delType;
	private Long delTime;
	private String jobClazzName;
	private Map<String, String> dataMap = new HashMap<>();

	public MqApiQuartzModel() {

	}

	public String getJsonData() {
		return jsonData;
	}

	public void setJsonData(String jsonData) {
		this.jsonData = jsonData;
	}

	public String getTopicName() {
		return topicName;
	}

	public void setTopicName(String topicName) {
		this.topicName = topicName;
	}

	public Long getAtTime() {
		return atTime;
	}

	public void setAtTime(Long atTime) {
		this.atTime = atTime;
	}

	public String getPushRegex() {
		return pushRegex;
	}

	public void setPushRegex(String pushRegex) {
		this.pushRegex = pushRegex;
	}

	public Long getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Long createTime) {
		this.createTime = createTime;
	}

	public Long getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Long updateTime) {
		this.updateTime = updateTime;
	}

	public Integer getIsDel() {
		return isDel;
	}

	public void setIsDel(Integer isDel) {
		this.isDel = isDel;
	}

	public Long getDelTime() {
		return delTime;
	}

	public void setDelTime(Long delTime) {
		this.delTime = delTime;
	}

	public String getJobClazzName() {
		return jobClazzName;
	}

	public void setJobClazzName(String jobClazzName) {
		this.jobClazzName = jobClazzName;
	}

	public Map<String, String> getDataMap() {
		return dataMap;
	}

	public void setDataMap(Map<String, String> dataMap) {
		this.dataMap = dataMap;
	}

	public Integer getDelType() {
		return delType;
	}

	public void setDelType(Integer delType) {
		this.delType = delType;
	}

	public String getCompanyId() {
		return companyId;
	}

	public void setCompanyId(String companyId) {
		this.companyId = companyId;
	}

	public String getTriggerUserId() {
		return triggerUserId;
	}

	public void setTriggerUserId(String triggerUserId) {
		this.triggerUserId = triggerUserId;
	}

	public Integer getSourceType() {
		return sourceType;
	}

	public void setSourceType(Integer sourceType) {
		this.sourceType = sourceType;
	}

	public Integer getSourceId() {
		return sourceId;
	}

	public void setSourceId(Integer sourceId) {
		this.sourceId = sourceId;
	}

	public Integer getIsDebug() {
		return isDebug;
	}

	public void setIsDebug(Integer isDebug) {
		this.isDebug = isDebug;
	}

}
